package team.dmh.wx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import team.dmh.wx.entity.Friend;
import team.dmh.wx.vo.FriendVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzk
 * @since 2018-10-15
 */
public interface IFriendService extends IService<Friend> {

    void check(String userId, String friendUsername);

    Map<String, List<FriendVO>> getFriendVOMap(String userId);

    List<FriendVO> getFriendVOList(String userId);

    boolean isExist(String userId, String friendId);

    FriendVO getFriendInfo(String userId, String friendId);
}
